package com.panshi.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class UserVO {

    //密码
    private String password;

    /*//电话
    @Pattern(regexp = "^1[3|4|5|6|7|8|9][0-9]{9}$")
    private String phone;

    //邮箱
    @Pattern(regexp = "/^\\w+@[a-z0-9]+\\.[a-z]{2,4}$/")
    private String email;*/

    //账号
    @NotBlank
    private String username;

    //图形验证码
    private String verifyCode;

    //验证码
    private String code;


}
